<!-- php:$title = $rs.title.' - '.$cate_rs.title.' - '.$page_rs.title -->
<!-- include tpl=head title=$title menutitle=$page_rs.title -->
<div class="main">
	<!-- if $page_rs.banner -->
	<div class="banner"><img src="{$page_rs.banner.filename}" width="980" alt="{$title}" /></div>
	<!-- /if -->
	<!-- include tpl=block/breadcrumb -->
	<div class="left am-panel-group">
		<!-- include tpl=block/catelist pid=$page_rs.id cid=$cate_rs.id title=$page_rs.title -->
		<!-- include tpl=block/contact -->
		<!-- include tpl=block/hot_products -->
	</div>
	<div class="right">
		<article class="am-article">
			<div class="am-article-hd">
				<h1 class="am-article-title">{$rs.title}</h1>
				<p class="am-article-meta">
					发布日期：<span>{func time_format $rs.dateline}</span>&nbsp; &nbsp;
					浏览次数：<span id="lblVisits">{$rs.hits}</span>
					<!-- if $rs.tag -->
					&nbsp; &nbsp; 关键字：
						<!-- loop from=$rs.tag key=$key value=$value -->
						<a href="{$value.url}" title="{$value.alt}" target="{$value.target}" style="color:#999;">{$value.title}</a>
						<!-- /loop -->
					<!-- /if -->
				</p>
			</div>
			<div class="am-article-bd">
				<!-- if $rs.note --><p class="am-article-lead">{func nl2br $rs.note}</p><!-- /if -->
				<div class="content">{$rs.content}</div>
				<!-- if $session.user_id -->
				<div style="padding:10px;" class="am-text-center">
					<input type="button" value="{if fav_check($rs.id) }已收藏{else}加入收藏{/if}" class="am-btn am-btn-primary" onclick="$.phpok_app_fav.act('{$rs.id}',this)" />
				</div>
				<!-- /if -->
			</div>
		</article>
		<!-- include tpl=block/next_prev -->
		<!-- if $page_rs.comment_status -->
			<!-- include tpl=block/comment tid=$rs.id -->
		<!-- /if -->
	</div>
</div>
<!-- include tpl=foot -->